getAVResourceTotalDuration

Get the duration in seconds of the video or audio resource that is attached to the given block.

Return

the video or audio file duration.

Parameters

block

the video fill or audio block.